/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.0.0
 * svn version: exported
 * Options:   --check-global -s 1799
 * Seed:      1799
 */

#include "random_runtime.h"


long __undefined;

/* --- Struct/Union Declarations --- */
struct S0 {
    volatile int8_t  f0;
    const  volatile int16_t  f1;
    const  volatile int64_t  f2;
    volatile uint16_t  f3;
    volatile uint8_t  f4;
   int16_t  f5;
   uint64_t  f6;
};

/* --- GLOBAL VARIABLES --- */
int16_t g_3 = 1L;
struct S0 g_4 = {1L,0L,0xE1B61BAB5934215ELL,0xABE8L,0x21L,0x09D4L,0x4678DC2A82A10AA4LL};/* VOLATILE GLOBAL g_4 */


/* --- FORWARD DECLARATIONS --- */
struct S0  func_1(void);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_4
 * writes: g_3
 */
struct S0  func_1(void)
{ /* block id: 0 */
     const int64_t l_2 = 9L;
    g_3 |= l_2;
    return g_4;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    func_1();
    printf("checksum g_3 = %d\n", g_3);
    printf("checksum g_4.f0 = %d\n", g_4.f0);
    printf("checksum g_4.f1 = %d\n", g_4.f1);
    printf("checksum g_4.f2 = %d\n", g_4.f2);
    printf("checksum g_4.f3 = %d\n", g_4.f3);
    printf("checksum g_4.f4 = %d\n", g_4.f4);
    printf("checksum g_4.f5 = %d\n", g_4.f5);
    printf("checksum g_4.f6 = %d\n", g_4.f6);
}

/************************ statistics *************************
XXX max struct depth: 1
breakdown:
   depth: 0, occurrence: 2
   depth: 1, occurrence: 1

XXX max expression depth: 0
breakdown:
   depth: 0, occurrence: 2

XXX total number of pointers: 0

XXX times a non-volatile is read: 2
XXX times a non-volatile is write: 1
XXX times a volatile is read: 0
XXX    times read thru a pointer: 0
XXX times a volatile is write: 0
XXX    times written thru a pointer: 0
XXX times a volatile is available for access: 0
XXX percentage of non-volatile access: 100

XXX forward jumps: 0
XXX backward jumps: 0

XXX stmts: 3

XXX percentage a fresh-made variable is used: 100
XXX percentage an existing variable is used: 0
********************* end of statistics **********************/

